package com.example.demo.model;

import lombok.Data;

import java.util.Date;

@Data
public class ArticleReply {
    //主键自增
    private Long id;

    //帖子ID，关联Article表
    private Long articleId;

    //回复的用户ID
    private Long postUserId;

    private Long replyId;

    private Long replyUserId;


    //回复的正文
    private String content;


    //忽略
    private Integer likeCount;


    //0为正常  1为非正常  禁用
    private Byte state;

    private Byte deleteState;

    private Date createTime;

    private Date updateTime;

    private User user;    //关联对象，回复的发布者
}